/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.defineKeybindingWidget {
	padding: 10px;
	position: absolute;
}

.defineKeybindingWidget .message {
	width: 400px;
	text-align: center;
}

.defineKeybindingWidget .monaco-inputbox,
.defineKeybindingWidget .output {
	margin-top:10px;
	width: 400px;
	display: block;
	text-align: center;
}

.defineKeybindingWidget .input {
	text-align: center;
}

.defineKeybindingWidget .output {
	display: flex;
	justify-content: center;
}

.defineKeybindingWidget .output .htmlkb {
	margin: 0px 4px;
}

/* Theming */
.defineKeybindingWidget {
	background-color: #EFEFF2;
	box-shadow: 0 2px 8px #A8A8A8;
}

.hc-black .defineKeybindingWidget,
.vs-dark .defineKeybindingWidget {
	background-color: #2D2D30;
	box-shadow: 0 2px 8px #000;
}

/* Editor decorations */
.monaco-editor .inlineKeybindingInfo:before {
	margin: 0.2em 0.1em 0 0.1em;
	content:" ";
	display:inline-block;
	height:0.8em;
	width:1em;
	background: url(info.svg) 0px -0.1em no-repeat;
	background-size: 0.9em;
}

.monaco-editor .inlineKeybindingError:before {
	margin: 0.1em 0.1em 0 0.1em;
	content:" ";
	display:inline-block;
	height:0.8em;
	width:1em;
	background: url(status-error.svg) 0px -0.1em no-repeat;
	background-size: 1em;
}

.monaco-editor .keybindingInfo {
	box-shadow:	inset 0 0 0 1px #B9B9B9;
	background-color: rgba(100, 100, 250, 0.2);
}

.monaco-editor .keybindingError {
	box-shadow:	inset 0 0 0 1px #B9B9B9;
	background-color: rgba(250, 100, 100, 0.2);
}

/* launcher widget */
.monaco-editor .defineKeybindingLauncher {
	background: #007ACC;
	color: white;
	padding: 10px;
	border-radius: 5px;
	cursor: pointer;
}